package multiThreading.Account1;

public class account1 extends Thread{
    private double base;//账号里的本金
    private double money;
    public account1(double money,String name,double base){
        super(name);
       this.money=money;
        this.base=base;
    }

    public double getBase() {
        return base;
    }

    public void setBase(double base) {
        this.base = base;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
